<?php

    $con=mysql_connect("localhost","root","1234");
    mysql_query("set names utf8");
    mysql_select_db("sql");
     $bumen=$_GET["bumen"];
     $un=$_GET["un"];
     $gangwei=$_GET["zhiwei"];
     $dixin=$_GET["dixin"];
     $d=date("y-m-d");

   $sql="insert into bumen values('$bumen','$un','$gangwei','$d',$dixin)";
   $r=mysql_query($sql,$con); 
 
    if($r)
   {
   	include('update.html');
   }else{

   	include('saveupdate.php');

   }
     

     





?>